{% extends "common.html" %}
{% block css %}
<link href="/static/css/reset_menu.css" rel="stylesheet" type="text/css">
<link href="/static/css/style-static.css" rel="stylesheet" type="text/css">
<link href="/static/css/head_copyright.css" rel="stylesheet" type="text/css">
{% load i18n %}

<style type="text/css">
  .blue{
    background:#31d2e7;
    color: white;
  }
  .marked_words {
    float: right;
    width: 849px;
    height: 350px;
  }.images {
    width: 65px;
    height: 65px;
    margin: 70px auto;
    text-align: center;
}.marked_words p {
    width: 849px;
    height: 35px;
    text-align: center;
    font-size: 16px;
    color: #000000;
}
</style>
<script src="/static/js/laydate.js"></script>
{% endblock %}
{% block content %}

<!--------内容-------------->
<div class="edititem">
  
     {% include "companySide.html" %}

   <div class="marked_words">
         
          <div class="images"><img src="/static/images/thank.png"></div>      
           <p>{{text}}</p>
           <p><strong id="second_show"></strong></p>
      </div>

</div>              

<script type="text/javascript">

var intDiff = parseInt(5);//倒计时总秒数量
$('#second_show').html(intDiff+'秒');
function timer(intDiff){
  window.setInterval(function(){
  var second=0;//时间默认值    
  if(intDiff == 0){
      window.location.href="http://{{request.META.HTTP_HOST}}"
  }
  
  $('#second_show').html(intDiff+'秒');
  intDiff--;
  }, 1000);
} 

$(function(){
  timer(intDiff);
}); 
</script>
{% endblock %}  
